package com.apes.enquiry.voluntaryOffers.dto;

import lombok.Getter;
import lombok.Setter;
import org.hibernate.annotations.DynamicInsert;
import org.hibernate.annotations.DynamicUpdate;
import org.hibernate.annotations.SelectBeforeUpdate;

import java.io.Serializable;
import java.util.List;

/**
 * @Title: Prices
 * @Author fj
 * @Package com.apes.enquiry.voluntaryOffers.dto
 * @Date 2023/7/12 9:35
 * @description: 配件集合
 */
@Getter
@Setter
@SelectBeforeUpdate
@DynamicInsert
@DynamicUpdate
public class Prices implements Serializable {

    private static final long serialVersionUID = 3622479555429477636L;

    /**
     * 配件品牌
     */
    private String brandName;

    private long supplierId;

    /**
     * 配件产地
     */
    private String originPlace;

    private boolean needNailBox;

    private String supplierShippedPlan;

    private int nailBoxPrice;

    /**
     * 报价备注
     */
    private String remark;

    /**
     * 发货信息
     */
    private String deliveryPlace;

    private String arriveTime;

    private long franchiseSupplierId;

    /**
     * 实际价格
     */
    private double quotePrice;

    /**
     * 配件图片的url集合
     */
    private List<String> supplierPictures;

    private int taxRate;

    /**
     * 报价编号
     */
    private String priceNo;

    private long quoteTime;

    /**
     * 优惠价格
     */
    private double quotePriceWithDiscount;

    private String quotedPartsCode;

    /**
     * 质保期(单位：月)
     */
    private int guaranteePeriod;

    /**
     * 是否订货(0：不订货；1：订货)
     */
    private int isBookGoods;

    /**
     * 配件品质(0：原厂件；1：国内品牌件；2：国外品牌件)
     */
    private int factoryType;

    /**
     * 订货时间
     */
    private bookGoodsInfo bookGoodsInfo;

}
